package com.woniuxy.commons.exception.token;

public enum TokenExceptionCode {
    TOKEN_MalformedJwt(90001,"格式错误"),
    TOKEN_Signature(90002,"签名异常"),
    TOKEN_Expired(90003,"过期"),
            ;
    private Integer code;
    private String message;

    TokenExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
